package com.ruoyi.whzj.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 积分套餐对象 wh_pointspackage
 * 
 * @author ruoyi
 * @date 2020-11-03
 */
public class WhPointspackage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 套餐名称 */
    @Excel(name = "套餐名称")
    private String packageName;

    /** 套餐价格 */
    @Excel(name = "套餐价格")
    private BigDecimal packagePrice;

    /** 充值积分 */
    @Excel(name = "充值积分")
    private Integer packagePoint;

    /** 赠送积分 */
    @Excel(name = "赠送积分")
    private Integer givePoint;

    /** 赠送置顶次数 */
    @Excel(name = "赠送置顶次数")
    private Integer giveToptimes;

    /** 状态（启用，停用） */
    @Excel(name = "状态", readConverterExp = "启=用，停用")
    private String status;

    @Excel(name = "赠送经验")
    private Integer giveExperience;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setPackageName(String packageName) 
    {
        this.packageName = packageName;
    }

    public String getPackageName() 
    {
        return packageName;
    }
    public void setPackagePrice(BigDecimal packagePrice) 
    {
        this.packagePrice = packagePrice;
    }

    public BigDecimal getPackagePrice() 
    {
        return packagePrice;
    }
    public void setPackagePoint(Integer packagePoint) 
    {
        this.packagePoint = packagePoint;
    }

    public Integer getPackagePoint() 
    {
        return packagePoint;
    }
    public void setGivePoint(Integer givePoint) 
    {
        this.givePoint = givePoint;
    }

    public Integer getGivePoint() 
    {
        return givePoint;
    }
    public void setGiveToptimes(Integer giveToptimes) 
    {
        this.giveToptimes = giveToptimes;
    }

    public Integer getGiveToptimes() 
    {
        return giveToptimes;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("packageName", getPackageName())
            .append("packagePrice", getPackagePrice())
            .append("packagePoint", getPackagePoint())
            .append("givePoint", getGivePoint())
            .append("giveToptimes", getGiveToptimes())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }

    public Integer getGiveExperience() {
        return giveExperience;
    }

    public void setGiveExperience(Integer giveExperience) {
        this.giveExperience = giveExperience;
    }
}
